package ooday02;

public abstract class  Animal {
    String name;
    String color;
    int age;
    Animal(){}
    Animal(String name,String color,int age){
        this.name = name;
        this.color = color;
        this.age = age;
    }
    abstract void eat();
    void drink(){
        System.out.println(color+"色"+age+"岁的"+name+"正在喝水...");
    }
}
